package com.amit.Basic_Simple_Program;

import java.util.Scanner;

public class Floyd_Triangle {

	public static void main(String[] args) {
		
		System.out.println("Please enter number for row for generating floyd triangle");
		
		Scanner sc=new Scanner(System.in);
		
		int n=sc.nextInt();
		int num=1;
		
		for(int i=1;i<=n;i++)
		{
			for(int j=1;j<=i;j++)
			{
				System.out.println(num+" ");
				num++;
				
			}
			System.out.println();
		}	
	}
}
